﻿using System;
using System.Collections.Generic;
using System.Text;
using Tauren.Business.Entity.Model;

namespace Tauren.Business.Entity.Output
{
    public class Position_OutPut : Position
    {
        /// <summary>
      /// 创建人显示名
      /// </summary>
        public virtual string Dic_Creator { get; set; }

        /// <summary>
        /// 修改人显示名
        /// </summary>
        public virtual string Dic_Modifier { get; set; }
        /// <summary>
        /// 创建日期-显示
        /// </summary>
        public virtual string Dic_Creatdate { get; set; }
        /// <summary>
        /// 修改日期-显示
        /// </summary>
        public virtual string Dic_Modifdate { get; set; }
        /// <summary>
        /// 职位下的人员
        /// </summary>
        public virtual List<PersonInfo_OutPut> PersonInfos { get; set; } = new List<PersonInfo_OutPut>();

        /// <summary>
        /// 上级职位
        /// </summary>
        public virtual List<Position_OutPut> Parents { get; set; } = new List<Position_OutPut>();
    }

    public class PagePositionTable : Global.GlobalOutPut
    {
        public long RowNo { get; set; }
        public virtual int PositionId { get; set; }
        public virtual int ParentId { get; set; }
        public virtual string ParentName { get; set; }
        public virtual string PositionCode { get; set; }
        public virtual string CNName { get; set; }
        public virtual string ENName { get; set; }
        public virtual int? OrgId { get; set; }
        public virtual string OrgType { get; set; }
        public virtual string OrgName { get; set; }
        public virtual bool  Enable { get; set; } 
        /// <summary>
        /// 创建人显示名
        /// </summary>
        public virtual string Dic_Creator { get; set; }
         
        /// <summary>
        /// 创建日期-显示
        /// </summary>
        public virtual string Dic_Creatdate { get; set; } 
        /// 启用禁用
        /// </summary>
        public virtual string Dic_Enable { get; set; }

        public virtual int PositionType { get; set; }
        public virtual string PositionTypeName { get; set; }
    }
}
